<?php echo form_open($submit_uri); if (isset($id)) echo form_hidden('support_id', $id); ?>

<div class="page_header">
    <h1 class="fleft"><?php if(isset($header)) echo $header;?></h1>
    <small class="fleft">"Thêm thông tin hỗ trợ trực tuyến"</small>
    <span class="fright"><a class="button back" href="/dashboard/supports/<?php echo $this->phpsession->get('current_support_lang');?>" title="Quay lại trang quản lý hỗ trợ trực tuyến"><em>&nbsp;</em>Quay lại trang quản lý</a></span>
    <br class="clear"/>
</div>

<div class="form_content">
    <?php $this->load->view('powercms/message'); ?>
    <table>
        <tr><td class="title">Ngôn ngữ: </td></tr>
        <tr>
            <td><?php echo $language_combobox; ?></td>
        </tr>
        <tr><td class="title">Tiêu đề: </td></tr>
        <tr>
            <td><?php echo form_input(array('name' => 'title', 'size' => '50', 'maxlength' => '50', 'style' => 'width:260px;', 'value' => $title)); ?></td>
        </tr>
        <tr><td class="title">Loại: (<span>*</span>)</td></tr>
        <tr>
            <td>
                <input type="radio" name="type" value="1" <?php if($type == YAHOO || $type == '') echo 'checked';?>/>Yahoo
                <input type="radio" name="type" value="2" <?php if($type == SKYPE) echo 'checked';?>/>Skype
                <input type="radio" name="type" value="3" <?php if($type == TELEPHONE) echo 'checked';?>/>Điện thoại
                <input type="radio" name="type" value="4" <?php if($type == TEXT) echo 'checked';?>/>Text
            </td>
        </tr>
        <tr><td class="title" style="vertical-align: top">Nội dung: (<span>*</span>)</td></tr>
        <tr>
            <td>
                <?php echo form_input(array('name' => 'content', 'maxlength' => '50', 'style' => 'width:260px;', 'value' => $content)); ?>
            </td>
        </tr>
        <tr>
            <td style="padding-top: 5px;">
                <?php echo form_submit(array('name' => 'btnSubmit', 'value' => $button_name, 'class' => 'button')); ?>
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px;"></div>
</div>

<?php echo form_close(); ?>
